<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<?php echo ($headHtml); ?>
<body>
<?php echo ($head_navlist); ?>
<!-- banner -->
<div class="banner">
    <div class="swiper-wrapper">
        <?php
 $_id = intval($headInfo[banner_select_id]); $where = array('aid'=> $_id, 'status' => 1); $limit = "4"; $abc_cate = M('abc')->find($_id); if ($abc_cate) { $limit = empty($limit) ? $abc_cate['num'] : $limit; $where['starttime'] = array('lt', time()); $where['endtime'] = array('gt', time()); $_abc = M('abcDetail')->where($where)->order('sort')->limit($limit)->select(); }else { $_abc = array(); } if (empty($_abc)) { $_abc = array(); } foreach($_abc as $autoindex => $abc): $abc['width'] = $abc_cate['width']; $abc['height'] = $abc_cate['height']; ?><div class="swiper-slide"><a href="javascript:void(0)"><img src="<?php echo ($abc[content]); ?>" alt="" /></a></div><?php endforeach;?>
    </div>
    <!-- Add Pagination -->
    <div class="swiper-pagination"></div>
</div>
<section class="content">
    <div class="box brand_content clear">
        <div class="location">
            <a href="">当前位置</a>-<a href="pn_<?=$catalogInfo[ename]?>">企业</a>- <a href="">公司简介</a>
        </div>
    </div>
    <div class="fullBox" style="background: url('/App/PingNa/View/default/images/company_back_04.jpg') no-repeat bottom">
        <div class="box brand_content">
            <div class="navListBox clear">
                <?php $i=0; ?>
                <?php
 $_typeid = $headInfo[id]; if($_typeid == -1) $_typeid = I('cid', 0, 'intval'); $_fieldflag = 0; if($_fieldflag == 0){ $_navlist = get_category(1); }else{ $_navlist = M('category')->where(['status'=>1])->order('sort asc')->select(); } if($_typeid == 0) { $_navlist = Common\Lib\Category::toLayer($_navlist); }else { $_navlist = Common\Lib\Category::toLayer($_navlist, 'child', $_typeid); } foreach($_navlist as $autoindex => $navlist): $navlist['url'] = get_url($navlist); if($i==3): ?>
                    <a href="/pn_<?=$navlist[ename]?>" class="<?=$activeCatalogId==$navlist[id]?'tab_active':''?>" style="margin-right: 0%"><p><?php echo ($navlist["name"]); ?></p></a>
                    <?php else: ?>
                    <a href="/pn_<?=$navlist[ename]?>" class="<?=$activeCatalogId==$navlist[id]?'tab_active':''?>"><p><?php echo ($navlist["name"]); ?></p></a>
                    <?php endif; ?>
                    <?php $i++; endforeach;?>
            </div>
            <div class="info">
                <header class="brand_title">
                    <h1><?php echo ($catalogSelect[name]); ?></h1>
                </header>
                <?php echo ($catalogSelect[content]); ?>

            </div>
        </div>
    </div>
</section>
<?php echo ($footHtml); ?>
<script>
    swiperBanner();
</script>
</body>
</html>